﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sys_purview_frame.aspx.cs" Inherits="Ccit.SysPlat.Purview.sys_purview_frame" %>
<html style="height:100%">
<head runat="server">
    <title></title>
    <script src="../script/jquery.js" type="text/javascript"></script> 
    <script type="text/javascript">
    <!--
        function doAddNew() {
            self.frames[1].initAddNew();
        }
    //-->
    </script> 
</head>
<body scroll="no" style="height:100%">
    <form id="form1" runat="server">
    <input type="hidden" id="_hidOrganId" runat="server" />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table class="tbToolbar" cellpadding="0" cellspacing="0" style="width:98%" align="center">
        <tr>
            <td align="left">
                <div class="tbSeparator"></div>
            </td>
            <td class="titlebar" style="width:100%">
                角色设置
            </td>
            <td align="right">
                <div class="tbSeparator"></div>
            </td>
            <td align="right">
                <nobr>
                    <a href="javascript:doAddNew()" class="linktext">
                        <img src="../images/toolbar/addnew.gif" border="0" />新增角色
                    </a>
                </nobr>
            </td>
            <td align="right">
                <div class="tbSeparatorEnd"></div>
            </td>
        </tr>
    </table>
    <table class="tableborder" cellpadding="0" cellspacing="0" width="98%" style="height:96%" align="center">
        <tr>
            <td width="20%" style="height:100%" valign="top">
                <iframe id="ifrmTree" name="ifrmTree" width="100%" src="" 
                        scrolling="auto" frameborder="0" style="BORDER-RIGHT: #000000 1px solid;height:100%" marginheight="0" marginwidth="0"></iframe>
            </td>
            <td width="80%" style="height:100%" valign="top">
                <iframe id="ifrmEdit" name="ifrmEdit" width="100%" style="height:100%" src="" scrolling="auto" frameborder="0" marginheight="0" marginwidth="0"></iframe>
            </td>
        </tr>
    </table>
    </form>
    <script type="text/javascript">
    <!--
        $(document).ready(function() {
            var organId = $get("_hidOrganId").value;
            var vPageParam = "organId=" + organId;
            var encodeParam = base64encode(vPageParam);
            $get("ifrmTree").src = "./sys_purview_tree.aspx?" + encodeParam;
            $get("ifrmEdit").src = "./sys_purview_edit.aspx?" + encodeParam;
        });
    //-->
    </script>   
</body>
</html>
